namespace ext.form
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// Provides Ext.direct support for loading form data.  This example illustrates usage of Ext.Direct to load a form through Ext.Direct.  
	/// var myFormPanel = new Ext.form.FormPanel({
	/// // configs for FormPanel
	/// title: &apos;Basic Information&apos;,
	/// renderTo: document.body,
	/// width: 300, height: 160,
	/// padding: 10,
	///
	/// // configs apply to child items
	/// defaults: {anchor: &apos;100%&apos;},
	/// defaultType: &apos;textfield&apos;,
	/// items: [{
	/// fieldLabel: &apos;Name&apos;,
	/// name: &apos;name&apos;
	/// },{
	/// fieldLabel: &apos;Email&apos;,
	/// name: &apos;email&apos;
	/// },{
	/// fieldLabel: &apos;Company&apos;,
	/// name: &apos;company&apos;
	/// }],
	///
	/// // configs for BasicForm
	/// api: {
	/// // The server-side method to call for load() requests
	/// load: Profile.getBasicInfo,
	/// // The server-side must mark the submit handler as a &apos;formHandler&apos;
	/// submit: Profile.updateBasicInfo
	/// },
	/// // specify the order for the passed params
	/// paramOrder: [&apos;uid&apos;, &apos;foo&apos;]
	/// });
	///
	/// // load the form
	/// myFormPanel.getForm().load({
	/// // pass 2 arguments to server side getBasicInfo method (len=2)
	/// params: {
	/// foo: &apos;bar&apos;,
	/// uid: 34
	/// }
	/// });
	/// 
	/// The...
	/// </summary>
	/// <htmlSummary>
	/// &lt;p&gt;Provides Ext.direct support for loading form data.&lt;/p&gt;
	/// &lt;p&gt;This example illustrates usage of Ext.Direct to &lt;b&gt;load&lt;/b&gt; a form through Ext.Direct.&lt;/p&gt;
	/// &lt;pre&gt;&lt;code&gt;
	/// var myFormPanel = new Ext.form.FormPanel({
	/// // configs for FormPanel
	/// title: &apos;Basic Information&apos;,
	/// renderTo: document.body,
	/// width: 300, height: 160,
	/// padding: 10,
	///
	/// // configs apply to child items
	/// defaults: {anchor: &apos;100%&apos;},
	/// defaultType: &apos;textfield&apos;,
	/// items: [{
	/// fieldLabel: &apos;Name&apos;,
	/// name: &apos;name&apos;
	/// },{
	/// fieldLabel: &apos;Email&apos;,
	/// name: &apos;email&apos;
	/// },{
	/// fieldLabel: &apos;Company&apos;,
	/// name: &apos;company&apos;
	/// }],
	///
	/// // configs for BasicForm
	/// api: {
	/// // The server-side method to call for load() requests
	/// load: Profile.getBasicInfo,
	/// // The server-side must mark the submit handler as a &apos;formHandler&apos;
	/// submit: Profile.updateBasicInfo
	/// },
	/// // specify the order for the passed params
	/// paramOrder: [&apos;uid&apos;, &apos;foo&apos;]
	/// });
	///
	/// // load the form
	/// myFormPanel.getForm().load({
	/// // pass 2 arguments to server side getBasicInfo method (len=2)
	/// params: {
	/// foo: &apos;bar&apos;,
	/// uid: 34
	/// }
	/// });
	/// &lt;/code&gt;&lt;/pre&gt;
	/// The data packet sent to the server will resemble something like:
	/// &lt;pre&gt;&lt;code&gt;
	/// [
	/// {
	/// &quot;action&quot;:&quot;Profile&quot;,&quot;method&quot;:&quot;getBasicInfo&quot;,&quot;type&quot;:&quot;rpc&quot;,&quot;tid&quot;:2,
	/// &quot;data&quot;:[34,&quot;bar&quot;] // note the order of the params
	/// }
	/// ]
	/// &lt;/code&gt;&lt;/pre&gt;
	/// The form will process a data packet returned by the server that is similar
	/// to the following format:
	/// &lt;pre&gt;&lt;code&gt;
	/// [
	/// {
	/// &quot;action&quot;:&quot;Profile&quot;,&quot;method&quot;:&quot;getBasicInfo&quot;,&quot;type&quot;:&quot;rpc&quot;,&quot;tid&quot;:2,
	/// &quot;result&quot;:{
	/// &quot;success&quot;:true,
	/// &quot;data&quot;:{
	/// &quot;name&quot;:&quot;Fred Flintstone&quot;,
	/// &quot;company&quot;:&quot;Slate Rock and Gravel&quot;,
	/// &quot;email&quot;:&quot;fred.flintstone@slaterg.com&quot;
	/// }
	/// }
	/// }
	/// ]
	/// &lt;/code&gt;&lt;/pre&gt;
	/// </htmlSummary>
	/// <definedin>src\widgets\form\Action.js</definedin>
	[ScriptName("Action.DirectLoad")]
	[ScriptNamespace("Ext.form")]
	[Imported()]
	public partial class Action_DirectLoad : ext.form.Action_Load
	{
	}
}
